<!DOCTYPE html>


<html>
  <head> 
	<?php include 'functions.php'; 
	inclHeader();
        requestHTTPS();
        
        require_once('recaptchalib.php');
        $publickey="6LdmK9sSAAAAALJTa0Ccf3JjIobv93Y3Wj1M8Qxi";
        register();
	?>
	<link rel = "stylesheet"  type = "text/css" href = "CSS.css" />
	<meta charset = "utf-8">
  	<title> Podutik Records </title>
  	<style type="text/css"></style>
	<script src="jquery.js"></script>
	<script src="myQuery.js"></script>
  </head>
  <body>
	<div id="page-container">

		<div id="main-nav">	
			<div class="block" id="bl1" style="background-color: #EEEEEE;">
				
			</div>
		</div>
		
		<div id="header">		
			<a href="./index.php"><img id="logo1" src="podutikrecords1.jpg" 
			width="236" height="36" alt="Enlighten Designs" /></a>	
		</div>
		
		<div id="prijava" style="height:600px !important;">
			<h2 id="acc">Create an Account</h2>
			<div class="obrazec">
				<div style="width: 700px;">

					<form name ="registracija" id="registracija" method="post" action="#">
                                            
                                                <table>
                                                    <tr><td>
                                            <h3><label id="emailad">E-mail: </label><input type="text" name="loginEmail" class="reginp" id="regmail" size="25" value="<?php if(isset($_POST['loginEmail'])){ echo $_POST['loginEmail'];}?>" placeholder = "name@domain.com" required></h3><h5 id="regmailerr" style="visibility: hidden;">*Invalid e-mail address</h5>
						<br/>
						<h3><label id="regfirstname" >First Name: </label><input type="text" name="loginFirstname" class="reginp" id="regname" size="25" value="<?php if(isset($_POST['loginFirstname'])){ echo $_POST['loginFirstname'];}?>"/></h3><h5 id="regnameerr" style="visibility: hidden;">*Wrong first name input</h5>
						<br/>
						<h3><label id="reglastname" >Last Name: </label><input type="text" name="loginLastname" class="reginp" id="reglname" size="25" value="<?php if(isset($_POST['loginLastname'])){ echo $_POST['loginLastname'];}?>"/></h3><h5 id="reglnameerr" style="visibility: hidden;">*Wrong last name input</h5>
						<br/>
						<h3><label id="regaddress" >Address: </label><input type="text" name="loginAddress" class="reginp" id="regadr" size="25" value="<?php if(isset($_POST['loginAddress'])){ echo $_POST['loginAddress'];}?>"/>
						<br/>
                                                <h3><label id="regcity" >City: </label><input type="text" name="loginCity" class="reginp" id="regcity1" size="25" value="<?php if(isset($_POST['loginCity'])){ echo $_POST['loginCity'];}?>"/></h3>
						<br/>
                                                <h3><label id="regpost" >Post: </label><input type="text" name="loginPost" class="reginp" id="regpostn" size="25" value="<?php if(isset($_POST['loginPost'])){ echo $_POST['loginPost'];}?>"/></h3>
						<br/>
                                                <h3><label id="regnum" >Phone: </label><input type="text" name="loginNum" class="reginp" id="regphone" size="25" value="<?php if(isset($_POST['loginNum'])){ echo $_POST['loginNum'];}?>"/></h3>
						<br/>
						<h3><label id="regpass1" >Password: </label><input type="password" name="loginPassword" class="reginp" id="regpass" size="25" /></h3><h5 id="regpasserr" style="visibility: hidden;">*Wrong password input</h5>
						<br/>
						<h3><label id="regpass21" >Confirm Pass: </label><input type="password" name="loginConfirmpassword" class="reginp" id="regcpass" size="25"/></h3><h5 id="regcpasserr" style="visibility: hidden;">*Wrong password input</h5>
						
                                        </td></tr>
                                        <tr><td>
                                                <div style="margin-left: 60px; margin-top: 20px">
                                                <?php
                                                    echo recaptcha_get_html($publickey);
                                                ?>
                                                    </div>
                                        </td></tr>
                                        <tr><td>
						<h4 style="margin-top: 10px; margin-left: 175px;"><input type="image" src="regpic.png" id="register" alt="gumb"/></h4>
                                                </td></tr>
                                        </table>
					</form>	
				</div>
			</div>	
		</div>
		
		<?php
                    footer();
                ?>
	
	</div>
    
  </body> 
  <script src="forms.js"></script>
  	
  
   
</html>